package com.pearadmin.pro.modules.experiment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pearadmin.pro.common.web.base.page.PageRequest;
import com.pearadmin.pro.modules.experiment.entity.ExperimentBulletin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExperimentBulletinDao extends BaseMapper<ExperimentBulletin> {
    int deleteByPrimaryKey(Integer id);

    int insert(ExperimentBulletin record);

    int insertSelective(ExperimentBulletin record);

    ExperimentBulletin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ExperimentBulletin record);

    int updateByPrimaryKey(ExperimentBulletin record);

    List getAnnouncementList(PageRequest request);

    List getNewsList(PageRequest request);
}
